package cc.vicp.djx314.starfood.dao.account;

import cc.vicp.djx314.starfood.domain.account.Account;

public interface AccountMapper {
	/**
	 * 创建一个账号
	 * @param account
	 */
	public void createAccount(Account account);
	/**
	 * 判断用户名是否存在
	 * @param name
	 */
	public Integer isAccountNameExists(String name);
	
	public Integer getRoleId(String roleName);
}
